#ifndef COMPARE_H_
#define COMPARE_H_
#include "header.h"

class Compare {
protected:
	vector< vector< vector<float> > > data_set;
	vector<string> fnms;

public:
	virtual ~Compare () {}
	void setdes();
	vector<vector<float> > getdes(const char*);
	string textKey (const char*);
	vector<int> sorting(vector<float>);
	void rank(const char*);
	virtual float dist(vector<vector<float> >, vector<vector<float> >)=0;
};

class L2dist : public Compare {
public:
	L2dist () {
		cout<<"L2 Distance is used in the ranking"<<endl;
	}
	float dist(vector<vector<float> >, vector<vector<float> >);
};

#endif
